LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-29-2009, 09:51 AM   #1
dlinux
Member
 
Registered: Jan 2007
Location: Portugal
Distribution: Slackware 13.0
Posts: 52

Rep: Reputation: 15
[Slackware 13.0]Cryptsetup problem with encrypted home partition


Hello guys, just finished installing slackware 13.0 but im having some problems with cryptsetup.

After lilo starts loading the kernel and when it asks me the password to my encrypted partition, it just keeps asking even though im entering the correct password... If i hit Ctrl+C and login then i'm able to mount it.
Why it doesn't accept my password while booting the system i don't know.
Maybe because it asks the password before setting the correct keyboard layout??
Im in Portugal btw.

Any help is greatly appreciated.

EDIT: If i write:
Code:
cryptsetup luksOpen /dev/sda2 crypthome
mount /dev/mapper/crypthome /home
in rc.local it works perfectly.

But I would still like it to work via the usual way .
I'm pretty sure this is because of the keyboard layout.
Using rc.local as shown above, it asks me the password after the message
Quote:
loading /usr/share/kbd/keymaps/i386/qwerty/pt-latin1.map.gz
and not before.

Last edited by dlinux; 08-29-2009 at 10:28 AM.
 
Old 08-29-2009, 10:36 AM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Maybe its related to http://www.linuxquestions.org/questi...faults-728159/
 
Old 08-29-2009, 11:27 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
Are you using an initrd.gz file? If so, you can set the keyboard layout to load (for me e. g. "-l de"). I think this should work for you.
 
Old 08-29-2009, 12:18 PM   #4
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Oh right, titopoquito's answer is probably much more helpful
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cryptsetup-segmentation fault on Slackware-12.0 - 2.6.23.14 dlinux Slackware 2 01-30-2008 05:42 AM
,dmrc problem after moving /home partition to NTFS partition yeehung Linux - Newbie 1 11-14-2007 06:17 AM
LXer: Encrypted home partition in Linux LXer Syndicated Linux News 0 05-03-2007 06:16 PM
persistent home dir with cryptsetup flying-tuxman Linux - Security 2 12-06-2005 12:22 AM
Step by step newbie guide for encrypted /home partition? eldergod Slackware 2 11-12-2004 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration